projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
250dbaa
)
Fix native compiler handling of narrow-to-region
author
Gerd Möllmann
<gerd@gnu.org>
Sat, 30 Jul 2022 15:32:04 +0000
(17:32 +0200)
committer
Gerd Möllmann
<gerd@gnu.org>
Sat, 30 Jul 2022 15:32:04 +0000
(17:32 +0200)
* lisp/emacs-lisp/comp.el (comp-limplify-lap-inst): Use auto for
byte-narrow-to-region.
lisp/emacs-lisp/comp.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/comp.el
b/lisp/emacs-lisp/comp.el
index 6e9132e43044d2416eb3918e23ec102e189c35b3..4354ea03a4eb653cae175959c4fb0108ea201fe7 100644
(file)
--- a/
lisp/emacs-lisp/comp.el
+++ b/
lisp/emacs-lisp/comp.el
@@
-1915,11
+1915,7
@@
and the annotation emission."
(byte-char-syntax auto)
(byte-buffer-substring auto)
(byte-delete-region auto)
- (byte-narrow-to-region
- (comp-emit-set-call (comp-call 'narrow-to-region
- (comp-slot)
- (comp-slot+1)
- (make-comp-mvar :constant nil))))
+ (byte-narrow-to-region auto)
(byte-widen
(comp-emit-set-call (comp-call 'widen)))
(byte-end-of-line auto)